package com.example.todolist.mapper;

import com.example.todolist.dto.business.PlanCountDTO;
import com.example.todolist.dto.business.PlanStatusCountDTO;
import com.example.todolist.model.TeamFarDO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author cqq
 * @since 2022-03-21
 */

public interface TeamFarMapper extends BaseMapper<TeamFarDO> {
    PlanStatusCountDTO selectStatusNumbers(String uid,String status) ;


    PlanStatusCountDTO queryPlanStatusGroupByYear(String  planStartTime, String uid, String planType);

    PlanCountDTO queryPlanGroupByYear(String  planStartTime, String uid, String sort);

}
